package com.hboxs.asl.wechat.service;

import com.hboxs.asl.service.BaseService;
import com.hboxs.asl.wechat.entity.Wechat;
import com.hboxs.asl.wechat.entity.WxUserInfo;
import com.hboxs.asl.wechat.entity.WxUserLocation;

/**
 * Created by study_000 on 6/27/2015.
 */
public interface WechatService extends BaseService<Wechat, Long> {

    Wechat find(String openid);

    Wechat update(Wechat source, WxUserInfo wxUserInfo);

    Wechat update(Wechat source, WxUserLocation wxUserLocation);
}
